Optimal. Leaf size=716 \[ \frac {60 a e^2 (e \sec (c+d x))^{2/3} \tan (c+d x)}{91 d \sqrt {a+a \sec (c+d x)}}+\frac {6 a e (e \sec (c+d x))^{5/3} \tan (c+d x)}{13 d \sqrt {a+a \sec (c+d x)}}-\frac {240 a e^3 \tan (c+d x)}{91 d \sqrt {a+a \sec (c+d x)} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}+\frac {120 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^2 e^{7/3} E\left (\text {ArcSin}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}{\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}\right )|-7-4 \sqrt {3}\right ) \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right ) \sqrt {\frac {e^{2/3}+\sqrt [3]{e} \sqrt [3]{e \sec (c+d x)}+(e \sec (c+d x))^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}} \tan (c+d x)}{91 d (a-a \sec (c+d x)) \sqrt {a+a \sec (c+d x)} \sqrt {\frac {\sqrt [3]{e} \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}}}-\frac {80 \sqrt {2} 3^{3/4} a^2 e^{7/3} F\left (\text {ArcSin}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}{\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}\right )|-7-4 \sqrt {3}\right ) \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right ) \sqrt {\frac {e^{2/3}+\sqrt [3]{e} \sqrt [3]{e \sec (c+d x)}+(e \sec (c+d x))^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}} \tan (c+d x)}{91 d (a-a \sec (c+d x)) \sqrt {a+a \sec (c+d x)} \sqrt {\frac {\sqrt [3]{e} \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.45, antiderivative size = 716, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {3891, 52, 65,
309, 224, 1891} \begin {gather*} -\frac {80 \sqrt {2} 3^{3/4} a^2 e^{7/3} \tan (c+d x) \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right ) \sqrt {\frac {\sqrt [3]{e} \sqrt [3]{e \sec (c+d x)}+(e \sec (c+d x))^{2/3}+e^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}} F\left (\text {ArcSin}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}{\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}\right )|-7-4 \sqrt {3}\right )}{91 d (a-a \sec (c+d x)) \sqrt {a \sec (c+d x)+a} \sqrt {\frac {\sqrt [3]{e} \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}}}+\frac {120 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^2 e^{7/3} \tan (c+d x) \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right ) \sqrt {\frac {\sqrt [3]{e} \sqrt [3]{e \sec (c+d x)}+(e \sec (c+d x))^{2/3}+e^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}} E\left (\text {ArcSin}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}{\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}\right )|-7-4 \sqrt {3}\right )}{91 d (a-a \sec (c+d x)) \sqrt {a \sec (c+d x)+a} \sqrt {\frac {\sqrt [3]{e} \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}}}-\frac {240 a e^3 \tan (c+d x)}{91 d \sqrt {a \sec (c+d x)+a} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}+\frac {60 a e^2 \tan (c+d x) (e \sec (c+d x))^{2/3}}{91 d \sqrt {a \sec (c+d x)+a}}+\frac {6 a e \tan (c+d x) (e \sec (c+d x))^{5/3}}{13 d \sqrt {a \sec (c+d x)+a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 224
Rule 309
Rule 1891
Rule 3891
Rubi steps
\begin {align*} \int (e \sec (c+d x))^{8/3} \sqrt {a+a \sec (c+d x)} \, dx &=-\frac {\left (a^2 e \tan (c+d x)\right ) \text {Subst}\left (\int \frac {(e x)^{5/3}}{\sqrt {a-a x}} \, dx,x,\sec (c+d x)\right )}{d \sqrt {a-a \sec (c+d x)} \sqrt {a+a \sec (c+d x)}}\\ &=\frac {6 a e (e \sec (c+d x))^{5/3} \tan (c+d x)}{13 d \sqrt {a+a \sec (c+d x)}}-\frac {\left (10 a^2 e^2 \tan (c+d x)\right ) \text {Subst}\left (\int \frac {(e x)^{2/3}}{\sqrt {a-a x}} \, dx,x,\sec (c+d x)\right )}{13 d \sqrt {a-a \sec (c+d x)} \sqrt {a+a \sec (c+d x)}}\\ &=\frac {60 a e^2 (e \sec (c+d x))^{2/3} \tan (c+d x)}{91 d \sqrt {a+a \sec (c+d x)}}+\frac {6 a e (e \sec (c+d x))^{5/3} \tan (c+d x)}{13 d \sqrt {a+a \sec (c+d x)}}-\frac {\left (40 a^2 e^3 \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{e x} \sqrt {a-a x}} \, dx,x,\sec (c+d x)\right )}{91 d \sqrt {a-a \sec (c+d x)} \sqrt {a+a \sec (c+d x)}}\\ &=\frac {60 a e^2 (e \sec (c+d x))^{2/3} \tan (c+d x)}{91 d \sqrt {a+a \sec (c+d x)}}+\frac {6 a e (e \sec (c+d x))^{5/3} \tan (c+d x)}{13 d \sqrt {a+a \sec (c+d x)}}-\frac {\left (120 a^2 e^2 \tan (c+d x)\right ) \text {Subst}\left (\int \frac {x}{\sqrt {a-\frac {a x^3}{e}}} \, dx,x,\sqrt [3]{e \sec (c+d x)}\right )}{91 d \sqrt {a-a \sec (c+d x)} \sqrt {a+a \sec (c+d x)}}\\ &=\frac {60 a e^2 (e \sec (c+d x))^{2/3} \tan (c+d x)}{91 d \sqrt {a+a \sec (c+d x)}}+\frac {6 a e (e \sec (c+d x))^{5/3} \tan (c+d x)}{13 d \sqrt {a+a \sec (c+d x)}}+\frac {\left (120 a^2 e^2 \tan (c+d x)\right ) \text {Subst}\left (\int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{e}-x}{\sqrt {a-\frac {a x^3}{e}}} \, dx,x,\sqrt [3]{e \sec (c+d x)}\right )}{91 d \sqrt {a-a \sec (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {\left (120 \sqrt {2 \left (2-\sqrt {3}\right )} a^2 e^{7/3} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a-\frac {a x^3}{e}}} \, dx,x,\sqrt [3]{e \sec (c+d x)}\right )}{91 d \sqrt {a-a \sec (c+d x)} \sqrt {a+a \sec (c+d x)}}\\ &=\frac {60 a e^2 (e \sec (c+d x))^{2/3} \tan (c+d x)}{91 d \sqrt {a+a \sec (c+d x)}}+\frac {6 a e (e \sec (c+d x))^{5/3} \tan (c+d x)}{13 d \sqrt {a+a \sec (c+d x)}}-\frac {240 a e^3 \tan (c+d x)}{91 d \sqrt {a+a \sec (c+d x)} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}+\frac {120 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^2 e^{7/3} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}{\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}\right )|-7-4 \sqrt {3}\right ) \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right ) \sqrt {\frac {e^{2/3}+\sqrt [3]{e} \sqrt [3]{e \sec (c+d x)}+(e \sec (c+d x))^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}} \tan (c+d x)}{91 d (a-a \sec (c+d x)) \sqrt {a+a \sec (c+d x)} \sqrt {\frac {\sqrt [3]{e} \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}}}-\frac {80 \sqrt {2} 3^{3/4} a^2 e^{7/3} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}{\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}\right )|-7-4 \sqrt {3}\right ) \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right ) \sqrt {\frac {e^{2/3}+\sqrt [3]{e} \sqrt [3]{e \sec (c+d x)}+(e \sec (c+d x))^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}} \tan (c+d x)}{91 d (a-a \sec (c+d x)) \sqrt {a+a \sec (c+d x)} \sqrt {\frac {\sqrt [3]{e} \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 0.25, size = 71, normalized size = 0.10 \begin {gather*} \frac {2 \, _2F_1\left (-\frac {5}{3},\frac {1}{2};\frac {3}{2};1-\sec (c+d x)\right ) (e \sec (c+d x))^{8/3} \sqrt {a (1+\sec (c+d x))} \tan \left (\frac {1}{2} (c+d x)\right )}{d \sec ^{\frac {8}{3}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.10, size = 0, normalized size = 0.00 \[\int \left (e \sec \left (d x +c \right )\right )^{\frac {8}{3}} \sqrt {a +a \sec \left (d x +c \right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \sqrt {a+\frac {a}{\cos \left (c+d\,x\right )}}\,{\left (\frac {e}{\cos \left (c+d\,x\right )}\right )}^{8/3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________